﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using com.pro2e.console.service.auth;
using com.pro2e.web.util;
using com.pro2e.web.util.page;

public partial class activityAdmin_AdmMasterPage : System.Web.UI.MasterPage
{

    log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
    SessionHelper sHelper = new SessionHelper();
    AuthService authService = new AuthService();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            if (sHelper.LoginUser == null)
            {
                //Response.Redirect("~/activityAdmin/login/Error.aspx");
            }
        }
    }

    public void setPrgName(string functionTitle)
    {
        if (!string.IsNullOrEmpty(functionTitle))
        {
            lblPrgSunName.Text = functionTitle;
            lblFunctionTitle.Text = functionTitle;
        }

    }
}
